package com.zzuli.yxy.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @auther pony
 * @create 2023-03-30 20:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuDto {
    private Integer id; //权限 id
    private String label; //权限名称
    private Integer parentId; //权限id
    private List<MenuDto> children = new ArrayList<>(); //子菜单
}
